package com.aispeech.asr.clib.post;

import lombok.Getter;
import lombok.Setter;

import java.util.HashMap;
import java.util.Map;

public class AsrppResult {
    @Getter
    int status;
    @Getter
    int duration;
    @Getter
    long feed_begin;
    @Getter
    private AsrppInfo info;

    public AsrppResult(int status, int duration, long asrpp_feed_start_ts) {
        this.status = status;
        this.duration = duration;
        this.feed_begin = asrpp_feed_start_ts;

        info = new AsrppInfo();
    }

    public void addElement(String emotion, String age, String gender) {
        info.addElement(emotion, age, gender);
    }
}
